@import '../../../common/scss/variable.scss';

.red-card-confirm-page {
  height: 100%;
  display: flex;
  @include flex(column);
  background-color: $color-page-bg-default;
  box-sizing: border-box;
  .content {
    @include flex(column);
    flex: 1;
    overflow: auto;
    justify-content: flex-start;
    width: 100%;
    padding: $gap-default;
    .card {
      width: 100%;
      &.gradient {
        background: linear-gradient(180deg, #fff2e6 0%, #ffffff 30%);
      }
      @include flex(column);
      border-radius: 10px;
      background-color: #fff;
      padding: $gap-default;
      margin-bottom: $gap-default;
    }

    .section_title {
      width: 100%;
      padding-left: 10px;
      position: relative;
      font-size: $font-size-xl;
      color: #333333;
      &::before {
        position: absolute;
        display: block;
        content: '';
        left: 0;
        top: 0;
        width: 3.5px;
        height: 18px;
        background: linear-gradient(180deg, #fdba30 0%, #fc8f2b 100%);
        border-radius: 1.5px;
      }
    }
  }

  .form {
    width: 100%;
    .form_options{
      margin-top: 5px;
      width: 100%;
      .form_options_item {
        @include flex;
        width: 100%;
        margin: 10px 0;
        background-color: #FFFAF6;
        height: 35px;
        color: #333333;
        font-size: 13px;
        box-sizing: border-box;
        border-radius: 4px;
        font-weight: 500;
        &.active {
          border: 1px solid #FC8F2B;
          color: #FC8F2B;
        }
        .form_option_first, .form_option_second {
          display: flex;
          align-items: center;
          justify-content: center;
          flex: 1;
          height: 30px;
          background: #FFF4E3;
          border-radius: 10px;
          font-size: 13px;
          &.active {
            border: 1px solid #FC8F2B;
            color: #FC8F2B;
          }
        }
        .form_option_second {
          margin-left: 15px;
        }
      }
    }
    .form_item {
      display: flex;
      height: 50px;
      border-bottom: 1px solid #d8d8d8;
      .form_label {
        @include flex;
        justify-content: flex-start;
        align-self: stretch;
        padding-left: $gap-default;
        font-size: 13px;
        width: 120px;
        color: #666;
      }
      .form_value {
        @include flex;
        align-self: stretch;
        justify-content: flex-start;
        font-size: 13px;
        color: #333;
        font-weight: 500
      }
      .form_input {
        @include flex;
        position: relative;
        flex: 1;
        align-self: stretch;
        font-size: 13px;
        input {
          position: absolute;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          height: 50px;
          line-height: 50px;
          text-align: left;
        }
      }
      .form_clear {
        @include flex;
        align-self: stretch;
        padding-right: $gap-default;
        img {
          width: 14px;
          height: 14px;
        }
      }
    }
  }

  .footer {
    @include flex;
    width: 100%;
    background-color: #fff;
    height: 63px;
    padding: $gap-default;
    .btn {
      @include flex;
      justify-content: space-between;
      width: 100%;
      height: 42px;
      border-radius: 21px;
      color: #fff;
      font-size: $font-size-default;
      background-color: #499EFE;
    }
    .btn_phone {
      flex: 1;
      text-align: center
    }
    .btn_insure {
      @include flex;
      width: 120px;
      height: 42px;
      border-radius: 21px;
      color: #fff;
      font-size: $font-size-default;
      background-color: $color-primary;
    }
  }
}
